import LinkKld from '@/modals/LinkKld';
export default {
  components: {LinkKld},
  data() {
    return {
      show: false,
      selectedKlds: []
    }
  },
  methods: {
    onClose() {
      this.show = false;
    },
    showLinkKld() {
      this.show = true;
    },
    onSelectKld() {
      this.selectedKlds = this.$refs.linkKld.klds.filter((v) => this.$refs.linkKld.selectedKlds.includes(v.key))
    }
  }
}